package com.techstar.mqttprocesser;

import com.techstar.mqttprocesser.service.mqtt.config.MqttConfigProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableConfigurationProperties(MqttConfigProperties.class)
@MapperScan("com.techstar.mqttprocesser.service.mqtt.mapper")
@EnableScheduling
public class MqttProcesserApplication {

    public static void main(String[] args) {
        SpringApplication.run(MqttProcesserApplication.class, args);
    }

}
